﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 设计模式.组合实体模式
{
    class CompositeEntityPatternDemo
    {
        public static void Test()
        {
            Client client = new Client();
            client.SetData("Test", "Data");
            client.PrintData();
            client.SetData("Second Test", "Data1");
            client.PrintData();
        }
    }
}
